﻿@model OrderControllerModel.Detail
<div>
    <div class="ui-box  ui-box-alpha">
        <div class="ui-box-head">
            <div class="ui-box-head-border">
                <div class="ui-box-head-title">
                    订单中心</div>
                <span class="ui-box-head-text">订单信息</span> <a href="#" class="ui-box-head-more">去购物</a>
            </div>
        </div>
        <div class="ui-box-container">
            <div class="ui-box-content">
                @OrderStep.GetHtml(Model.Order)
            </div>
        </div>
        <div class="ui-box-container">
            <div class="ui-box-content">
                @if (Model.Order.Status == OrderStatus.Pending || Model.Order.Status == OrderStatus.WaitBuyerPay)
                {
                    <div>
                        <h5>
                            当前订单状态： 商品已买下，等待买家付款</h5>
                        <p>
                            买家（@(Model.Order.BuyerNick)）还有 2天22小时42分49秒 来完成本次交易的付款，逾期未付款，交易将自动关闭。</p>
                        <p>
                            <a href="/order/edit/@(Model.Order.Id)" class="btn" data-trigger="modal" data-title="修改价格"  style="margin-left: 50px;">
                                修改价格</a> <a data-trigger="modal" href="/order/cancel/@(Model.Order.Id)" data-title="关闭交易" class="btn"
                                            style="margin-left: 20px;">关闭交易</a> <a data-trigger="modal" href="/order/memo/@(Model.Order.Id)"
                                                                                   data-title="备忘" class="btn" style="margin-left: 20px;">
                                                备 忘</a>
                        </p>
                        @if (!Model.Order.SellerMemo.IsNullOrEmpty())
                        {
                            <div class="alert alert-info">
                                <strong>备 忘：</strong> @(Model.Order.SellerMemo)
                            </div>
                        }
                    </div>
                    <div class="alert alert-block">
                        <button type="button" class="close" data-dismiss="alert">
                            &times;</button>
                        <h4>
                            提 醒</h4>
                        <div>
                            <p>
                                1、商品被恶意拍下了，该怎么办？
                            </p>
                        </div>
                    </div>
                }
                else if (Model.Order.Status == OrderStatus.WaitSellerSend)
                {
                    <div>
                        <h5>
                            当前订单状态： 买家已付款，等待商家发货</h5>
                        <p>
                            请您尽快发货，如果缺货，可联系买家协商退款。</p>
                        <p>
                            <a href="@(WebSite.Logistics)/home/consign/@(Model.Order.Id)" class="btn btn-primary" target="_blank" style="margin-left: 50px;">
                                发 货</a> <a data-trigger="modal" href="/order/address/@(Model.Order.Id)" data-title="修改收货地址" class="btn"
                                               style="margin-left: 20px;">修改收货地址</a> <a data-trigger="modal" href="/order/memo/@(Model.Order.Id)"
                                                                                        data-title="备忘" class="btn" style="margin-left: 20px;">
                                                   备 忘</a>
                        </p>
                        @if (!Model.Order.SellerMemo.IsNullOrEmpty())
                        {
                            <div class="alert alert-info">
                                <strong>备 忘：</strong> @(Model.Order.SellerMemo)
                            </div>
                        }
                    </div>
                    <div class="alert alert-block">
                        <button type="button" class="close" data-dismiss="alert">
                            &times;</button>
                        <h4>
                            提 醒</h4>
                        <div>
                            <p>
                                1、买家已付款，请尽快发货，否则买家有权申请退款。
                            </p>
                            <p>
                                2、如果无法发货，请及时与买家联系并说明情况。
                            </p>
                            <p>
                                3、买家申请退款后，须征得买家同意后再操作发货，否则买家有权拒收货物。</p>
                        </div>
                    </div>
                }
                else if (Model.Order.Status == OrderStatus.SellerSendPart)
                {
                    <div>
                        <h5>
                            当前订单状态： 卖家已部分发货
                        </h5>
                        <p>
                            请您尽快发货，如果缺货，可联系买家协商退款。</p>
                        <p>
                            <a href="@(WebSite.Logistics)/home/consign/@(Model.Order.Id)" class="btn btn-primary" target="_blank" style="margin-left: 50px;">
                                发 货</a><a data-trigger="modal" href="/order/memo/@(Model.Order.Id)"
                                                                                        data-title="备忘" class="btn" style="margin-left: 20px;">
                                    备 忘</a>
                        </p>
                        <p>
                            如果买家表示未收到货或者收到的货物有问题，请及时联系买家积极处理，友好协商。</p>
                        @if (!Model.Order.SellerMemo.IsNullOrEmpty())
                        {
                            <div class="alert alert-info">
                                <strong>备 忘：</strong> @(Model.Order.SellerMemo)
                            </div>
                        }
                    </div>
                }
                else if (Model.Order.Status == OrderStatus.WaitBuyerConfirm)
                {
                    <div>
                        <h5>
                            当前订单状态： 卖家已发货，等待买家确认
                        </h5>
                        <p>
                            买家（@(Model.Order.BuyerNick)）还有<span style="margin: 0 5px; width: 150px;"><i class="icon-time icon-large"
                                style="color: red"></i><span id="countdowner" class="remaining-time"></span></span>来完成本次交易的"确认到货"。</p>
                        <p>
                            如果期间买家（@(Model.Order.BuyerNick)）没有"确认到货"，也没有"申请退款"，本交易将自动结束。</p>
                        <p>
                            <a href="/order/delay/@(Model.Order.Id)" class="btn" data-trigger="modal" data-title="延长收货时间"  style="margin-left: 50px;">
                                延长收货时间</a> <a data-trigger="modal" href="/order/memo/@(Model.Order.Id)"
                                                                                   data-title="备忘" class="btn" style="margin-left: 20px;">
                                    备 忘</a>
                        </p>
                        <p>
                            如果买家表示未收到货或者收到的货物有问题，请及时联系买家积极处理，友好协商。</p>
                        @if (!Model.Order.SellerMemo.IsNullOrEmpty())
                        {
                            <div class="alert alert-info">
                                <strong>备 忘：</strong> @(Model.Order.SellerMemo)
                            </div>
                        }
                    </div>
                }
                else if (Model.Order.Status == OrderStatus.Canceled)
                {
                    <div>
                        <h5>
                            当前订单状态： 交易关闭
                        </h5>
                        @if (Model.Order.Cancel.HasValue)
                        {
                            if (Model.Order.Cancel.Value == 0)
                            {
                            <p>
                                系统取消订单</p>
                            }
                            else if (Model.Order.Cancel.Value == 1)
                            {
                            <p>
                                买家取消订单</p>
                            }
                            else if (Model.Order.Cancel.Value == 2)
                            {
                            <p>
                                卖家取消订单</p>
                            }
                            <p>
                                取消原因： @(Model.Order.CancelReason)</p>
                        }
                        <p>
                            <a data-trigger="modal" href="/order/memo/@(Model.Order.Id)" data-title="备忘" class="btn" style="margin-left: 20px;">
                                备 忘</a>
                        </p>
                        @if (!Model.Order.BuyerMemo.IsNullOrEmpty())
                        {
                            <div class="alert alert-info">
                                <strong>备 忘：</strong> @(Model.Order.BuyerMemo)
                            </div>
                        }
                    </div>
                }
                else if (Model.Order.Status == OrderStatus.Finished)
                {
                    <div>
                        <h5>
                            当前订单状态： 交易成功
                        </h5>
                        <ol>
                            @if (!Model.Order.SellerRate)
                            {
                                <li>
                                    <p>
                                        交易成功，请给买家评价。</p>
                                </li>
                            }
                            <li>
                                <p>
                                    如果买家提出售后要求，请积极与买家协商，做好售后服务。</p>
                            </li>
                        </ol>
                        <p>
                            <a data-trigger="modal" href="/order/memo/@(Model.Order.Id)"
                                                                  data-title="备忘" class="btn" style="margin-left: 20px;">
                                备 忘</a>
                        </p>
                        @if (!Model.Order.SellerMemo.IsNullOrEmpty())
                        {
                            <div class="alert alert-info">
                                <strong>备 忘：</strong> @(Model.Order.SellerMemo)
                            </div>
                        }
                    </div>
                }
            </div>
        </div>
        <div class="ui-box-container-noborder">
            <div class="ui-box-content">
                <p>
                    <strong>买家信息</strong></p>
                <div class="row-fluid">
                    <div class="span6">
                        买家昵称：@Model.Order.BuyerNick
                    </div>
                    <div class="span6">
                        真实姓名：
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        所在地区：
                    </div>
                    <div class="span6">
                        联系电话：
                    </div>
                </div>
                <p>
                    <strong>订单信息</strong></p>
                <p>
                    订单编号：<span>@Model.Order.Id</span></p>
                <div class="row-fluid">
                    <div class="span6">
                        成交时间：<span>@Model.Order.CreatedOn.ToString("yyyy-MM-dd HH:mm:ss")</span>
                    </div>
                    <div class="span6">
                        @if (Model.Order.PayTime.HasValue)
                        {
                            @: 付款时间：<span > @Model.Order.PayTime.ToString("yyyy-MM-dd HH:mm:ss", string.Empty)</span>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                    </div>
                    @if (Model.Order.ConsignTime.HasValue)
                    {
                        <div class="span6">
                            发货时间：<span> @Model.Order.ConsignTime.ToString("yyyy-MM-dd HH:mm:ss", string.Empty)</span>
                        </div>
                        <div class="span6">
                            @if (Model.Order.EndTime.HasValue)
                            {
                                @: 确认时间：<span > @Model.Order.EndTime.ToString("yyyy-MM-dd HH:mm:ss", string.Empty)</span>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                        </div>
                    }
                </div>
            </div>
            <div>
                @if (Model.Order.Status == OrderStatus.Pending || Model.Order.Status == OrderStatus.WaitBuyerPay || Model.Order.Status == OrderStatus.WaitBuyerPay || Model.Order.Status == OrderStatus.WaitSellerSend || Model.Order.Status == OrderStatus.Canceled)
                {
                    <table class="ui-table ui-table-alpha" style="border: none;">
                        <thead>
                            <tr>
                                <th style="width: 250px;">
                                    商 品
                                </th>
                                <th>
                                    单价(元)
                                </th>
                                <th>
                                    数 量
                                </th>
                                <th>
                                    优惠(元)
                                </th>
                                <th>
                                    赠积分
                                </th>
                                <th>
                                    状 态
                                </th>
                                <th>
                                    实收款(元)
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            @Model.Order.OrderItems.Each(@<tr>
                                <td title="@(item.Item.Title)">
                                    <div class="media">
                                        <a class="pull-left" href="@(string.Format("{0}/{1}.html", WebSite.Item, item.Item.Id))" target="_blank">
                                            <img data-src="holder.js/64x64" class="media-object" alt="64x64" style="width: 64px;
                                                height: 64px;" src="">
                                        </a>
                                        <div class="media-body">
                                            <h5 class="media-heading">
                                                @(item.Item.Title)</h5>
                                            <div>
                                                @foreach (var x in item.Item.GetProperties().OrderBy(x => x.Length))
                                                {
                                                    <span>@x</span>
                                                    <br />
                                                }
                                            </div>
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    @(item.Item.Price.ToString("N"))
                                </td>
                                <td>
                                    @item.Item.Quantity
                                </td>
                                <td>
                                    @item.Item.Discount.ToString("N")
                                </td>
                                <td>
                                </td>
                                <td class="col">
                                    @if (Model.Order.Status == OrderStatus.Pending || Model.Order.Status == OrderStatus.WaitBuyerPay)
                                    {
                                        <span>待付款</span>
                                    }
                                    else if (Model.Order.Status == OrderStatus.WaitSellerSend)
                                    {
                                        <span>已付款 待发货</span>
                                    }
                                    else if (Model.Order.Status == OrderStatus.Canceled)
                                    {
                                        <p>
                                            <span>已取消<a style="margin-left: 5px;" href="javascript:void(0);" title="@(Model.Order.CancelText)取消原因：@(Model.Order.CancelReason)"><i
                                                class="icon-bookmark"></i> </a></span>
                                        </p>
                                    }
                                </td>
                                @if (item.Index == 0)
                                {
                                    <td rowspan ="@(Model.Order.OrderItems.Count + 1)" style="border-right: 1px solid #D9D9D9">
                                        <p>
                                            <strong>@(Model.Order.Total.ToString("N"))</strong></p>
                                        @if (Model.Order.Postage == 0)
                                        {
                                            <p>
                                                <span>免运费</span></p>
                                        }
                                        else
                                        {
                                            <p>
                                                <span>含快递：@(Model.Order.Postage.ToString("N"))</span></p>
                                        }
                                        <p>
                                            <span>订单优惠：@(Model.Order.Discount.ToString("N"))</span></p>
                                    </td>
                               
                                }
                            </tr>)
                            <tr>
                                <td colspan="6" class="text-align-left" style="border-right: 1px solid #D9D9D9">
                                    <p>
                                        收货人：@(Model.Order.Receiver)
                                        @(Model.Order.Mobile)
                                        @(Model.Order.Phone)
                                    </p>
                                    <p>
                                        收货地址：@(Model.Order.Province)
                                        @(Model.Order.City)
                                        @(Model.Order.District)
                                        @(Model.Order.Address)
                                        @(Model.Order.PostalCode)
                                    </p>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <p>
                                        买家留言：@(Model.Order.BuyerMessage)
                                    </p>
                                    @if (Model.Order.Status == OrderStatus.Pending || Model.Order.Status == OrderStatus.WaitBuyerPay)
                                    {
                                        <p class="pull-right">
                                            订单金额： <span class="order-info-total-price">@(Model.Order.Total.ToString("N"))</span>
                                            元
                                        </p>
                                    }
                                    else if (Model.Order.Status == OrderStatus.WaitSellerSend)
                                    {
                                        <p class="pull-right">
                                            实收款： <span class="order-info-total-price">@(Model.Order.Paid.ToString("N"))</span>
                                            元
                                        </p>
                                    }
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                }
                else if (Model.Order.Status == OrderStatus.SellerSendPart)
                {
                    <table class="ui-table ui-table-alpha" style="border: none;">
                        <thead>
                            <tr>
                                <th style="width: 250px;">
                                    商 品
                                </th>
                                <th>
                                    单价(元)
                                </th>
                                <th>
                                    数 量
                                </th>
                                <th>
                                    优惠(元)
                                </th>
                                <th>
                                    赠积分
                                </th>
                                <th>
                                    状 态
                                </th>
                                <th>
                                    实付款(元)
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            @{ var index = 1; }
                            @foreach (var o in Model.Shippings)
                            {
                                var ids = o.OrderItemIds.Split(',');
                                var items = Model.Order.OrderItems.Where(i => ids.Contains(i.Id.ToString().Trim())).ToList();
                                <tr>
                                    <td colspan="6" class="text-align-left" style="border-right: 1px solid #D9D9D9">
                                        <strong>包裹 @index</strong> <span class="pull-right">运单号：<strong>@(o.ExpressNo)</strong></span>
                                    </td>
                                    @if (index == 1)
                                    {
                                        <td rowspan="@(Model.Shippings.Count * 2 + Model.Order.OrderItems.Count + 1)" >
                                            <p>
                                                <strong>@(Model.Order.Total.ToString("N"))</strong></p>
                                            @if (Model.Order.Postage == 0)
                                            {
                                                <p>
                                                    <span>免运费</span></p>
                                            }
                                            else
                                            {
                                                <p>
                                                    <span>含快递：@(Model.Order.Postage.ToString("N"))</span></p>
                                            }
                                            <p>
                                                <span>订单优惠：@(Model.Order.Discount.ToString("N"))</span></p>
                                        </td>
                                    }
                                </tr>
                                @items.Each(@<tr>
                                    <td title="@(item.Item.Title)">
                                        <div class="media">
                                            <a class="pull-left" href="@(string.Format("{0}/{1}.html", WebSite.Item, item.Item.Id))" target="_blank">
                                                <img data-src="holder.js/64x64" class="media-object" alt="64x64" style="width: 64px;
                                                    height: 64px;" src="">
                                            </a>
                                            <div class="media-body">
                                                <h5 class="media-heading">
                                                    @(item.Item.Title)</h5>
                                                <div>
                                                    @foreach (var x in item.Item.GetProperties().OrderBy(x => x.Length))
                                                    {
                                                        <span>@x</span>
                                                        <br />
                                                    }
                                                </div>
                                            </div>
                                        </div>
                                    </td>
                                    <td>
                                        @(item.Item.Price.ToString("N"))
                                    </td>
                                    <td>
                                        @item.Item.Quantity
                                    </td>
                                    <td>
                                        @item.Item.Discount.ToString("N")
                                    </td>
                                    <td>
                                    </td>
                                    <td style="border-right: 1px solid #D9D9D9">
                                        d
                                    </td>
                                </tr>)
                                <tr>
                                    <td colspan="6" class="text-align-left" style="border-right: 1px solid #D9D9D9">
                                        <p>
                                            收货人：@(o.Receiver)
                                            @(o.Mobile)
                                            @if (!o.Phone.IsNullOrEmpty())
                                            {
                                                @:（@(o.Phone)）
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                        </p>
                                        <p>
                                            收货地址：@(o.Province)
                                            @(o.City)
                                            @(o.District)
                                            @(o.Address)
                                            @(o.PostalCode)
                                        </p>
                                        <p>
                                            物流公司：@(o.Company)
                                        </p>
                                    </td>
                                </tr>
                                            index += 1;
                            }
                            <tr>
                                <td style="border-right: 1px solid #D9D9D9" class="text-align-left" colspan="6">
                                    <strong>以下商品暂未发货</strong>
                                </td>
                            </tr>
                            @Model.Order.OrderItems.Where(o => o.Status != OrderStatus.WaitBuyerConfirm).ToList().Each(@<tr>
                                <td title="@(item.Item.Title)">
                                    <div class="media">
                                        <a class="pull-left" href="@(string.Format("{0}/{1}.html", WebSite.Item, item.Item.Id))" target="_blank">
                                            <img data-src="holder.js/64x64" class="media-object" alt="64x64" style="width: 64px;
                                                height: 64px;" src="">
                                        </a>
                                        <div class="media-body">
                                            <h5 class="media-heading">
                                                @(item.Item.Title)</h5>
                                            <div>
                                                @foreach (var x in item.Item.GetProperties().OrderBy(x => x.Length))
                                                {
                                                    <span>@x</span>
                                                    <br />
                                                }
                                            </div>
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    @(item.Item.Price.ToString("N"))
                                </td>
                                <td>
                                    @item.Item.Quantity
                                </td>
                                <td>
                                    @item.Item.Discount.ToString("N")
                                </td>
                                <td>
                                </td>
                                <td style="border-right: 1px solid #D9D9D9">
                                    d
                                </td>
                            </tr>)
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <p>
                                        买家留言：@(Model.Order.BuyerMessage)
                                    </p>
                                    <p class="pull-right">
                                        实付款： <span class="order-info-total-price">@(Model.Order.Total.ToString("N"))</span>
                                        元
                                    </p>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                }
                else if (Model.Order.Status == OrderStatus.WaitBuyerConfirm || Model.Order.Status == OrderStatus.Finished)
                {
                    <table class="ui-table ui-table-alpha" style="border: none;">
                        <thead>
                            <tr>
                                <th style="width: 250px;">
                                    商 品
                                </th>
                                <th>
                                    单价(元)
                                </th>
                                <th>
                                    数 量
                                </th>
                                <th>
                                    优惠(元)
                                </th>
                                <th>
                                    赠积分
                                </th>
                                <th>
                                    状 态
                                </th>
                                <th>
                                    实收款(元)
                                </th>
                            </tr>
                        </thead>
                        @{ var index = 1; }
                        @foreach (var o in Model.Shippings)
                        {
                            var ids = o.OrderItemIds.Split(',');
                            var items = Model.Order.OrderItems.Where(i => ids.Contains(i.Id.ToString().Trim())).ToList();
                            <tr>
                                <td colspan="6" class="text-align-left" style="border-right: 1px solid #D9D9D9">
                                    @if (Model.Shippings.Count > 1)
                                    { <strong>包裹 @index</strong>
                                        <span class="pull-right">运单号：<strong>@(o.ExpressNo)</strong></span>
                                    }
                                    else
                                    {
                                        <span>运单号：<strong>@(o.ExpressNo)</strong></span>    
                                    }
                                </td>
                                @if (index == 1)
                                {
                                    <td rowspan="@(Model.Shippings.Count * 2 + Model.Order.OrderItems.Count)" >
                                        <p>
                                            <strong>@(Model.Order.Total.ToString("N"))</strong></p>
                                        @if (Model.Order.Postage == 0)
                                        {
                                            <p>
                                                <span>免运费</span></p>
                                        }
                                        else
                                        {
                                            <p>
                                                <span>含快递：@(Model.Order.Postage.ToString("N"))</span></p>
                                        }
                                        <p>
                                            <span>订单优惠：@(Model.Order.Discount.ToString("N"))</span></p>
                                    </td>
                                }
                            </tr>
                            @items.Each(@<tr>
                                <td title="@(item.Item.Title)">
                                    <div class="media">
                                        <a class="pull-left" href="@(string.Format("{0}/{1}.html", WebSite.Item, item.Item.Id))" target="_blank">
                                            <img data-src="holder.js/64x64" class="media-object" alt="64x64" style="width: 64px;
                                                height: 64px;" src="">
                                        </a>
                                        <div class="media-body">
                                            <h5 class="media-heading">
                                                @(item.Item.Title)</h5>
                                            <div>
                                                @foreach (var x in item.Item.GetProperties().OrderBy(x => x.Length))
                                                {
                                                    <span>@x</span>
                                                    <br />
                                                }
                                            </div>
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    @(item.Item.Price.ToString("N"))
                                </td>
                                <td>
                                    @item.Item.Quantity
                                </td>
                                <td>
                                    @item.Item.Discount.ToString("N")
                                </td>
                                <td>
                                </td>
                                <td style="border-right: 1px solid #D9D9D9">
                                    d
                                </td>
                            </tr>)
                            <tr>
                                <td colspan="6" class="text-align-left" style="border-right: 1px solid #D9D9D9">
                                    <p>
                                        收货人：@(o.Receiver)
                                        @(o.Mobile)
                                        @if (!o.Phone.IsNullOrEmpty())
                                        {
                                            @:（@(o.Phone)）
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                    </p>
                                    <p>
                                        收货地址：@(o.Province)
                                        @(o.City)
                                        @(o.District)
                                        @(o.Address)
                                        @(o.PostalCode)
                                    </p>
                                    <p>
                                        物流公司：@(o.Company)
                                    </p>
                                </td>
                            </tr>
                                        index += 1;
                        }
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <p>
                                        买家留言：@(Model.Order.BuyerMessage)
                                    </p>
                                    <p class="pull-right">
                                        实收款： <span class="order-info-total-price">@(Model.Order.Paid.ToString("N"))</span>
                                        元
                                    </p>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                }
            </div>
        </div>
    </div>
</div>
@section css{
    <style type="text/css">
        .order-info-total-price { font-size: 18px; font-weight: normal; color: #c00; }
        .alert h4 { font-size: 15px; color: #f60; margin-bottom: 5px; font-family: '微软雅黑'; }
        
        .radio.inline, .checkbox.inline { padding-top: 0; vertical-align: top; }
    </style>
}
@section js{
    <script type="text/javascript">
    $(function () {
        $('#countdowner').scocountdown({strings: {d: '天', h: '小时', m: '分钟', s: '秒'}, until: @(Model.Order.ExpirationTime.ToUnixTime()) });
    })
    </script>
}
